import request from '@/utils/request'

export function addMeasure(data) {
  return request({
    url: '/measure/create',
    method: 'post',
    data
  })
}

export function getListByPatientId(data) {
  return request({
    url: '/measure/list',
    method: 'get',
    params: data
  })
}

export function getAllMeasure(data) {
  return request({
    url: '/measure/all',
    method: 'get',
    params: data
  })
}

export function getList(data) {
  return request({
    url: '/measure/list',
    method: 'get',
    params: data
  })
}
